package com.panfeng.xcloud.common.core.enums;

public enum OrderPriceTypeEnum {

	LIMIT("limit", "限价"),
	OPPONENT("opponent", "对手价"),
	POST_ONLY("post_only", "只做maker单,post only下单只受用户持仓数量限制"),
	OPTIMAL_5("optimal_5", "最优5档"),
	OPTIMAL_10("optimal_10", "最优10档"),
	OPTIMAL_20("optimal_20", "最优20档"),
	IOC("ioc", "IOC订单"),
	FOK("fok", "FOK订单"),
	OPPONENT_IOC("opponent_ioc", "对手价-IOC下单"),
	OPTIMAL_5_IOC("optimal_5_ioc", "最优5档-IOC下单"),
	OPTIMAL_10_IOC("optimal_10_ioc", "最优10档-IOC下单"),
	OPTIMAL_20_IOC("optimal_20_ioc", "最优20档-IOC下单"),
	OPPONENT_FOK("opponent_fok", "对手价-FOK下单"),
	OPTIMAL_5_FOK("optimal_5_fok", "最优5档-FOK下单"),
	OPTIMAL_10_FOK("optimal_10_fok", "最优10档-FOK下单"),
	OPTIMAL_20_FOK("optimal_20_fok", "最优20档-FOK下单"),
	;

	private String code;
	private String message;

	private OrderPriceTypeEnum(String code, String message) {
		this.code = code;
		this.message = message;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}
}
